home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / enlightenment / e_fileman_icon.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  42 lines

  1. /*
  2.  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  3.  */
  4. #ifdef E_TYPEDEFS
  5.  
  6. typedef enum   _E_Fm_Icon_Type E_Fm_Icon_Type;
  7. typedef struct _E_Fm_Icon_Metadata E_Fm_Icon_Metadata;
  8.  
  9. #else
  10. #ifndef E_FILEMAN_FILE_SMART_H
  11. #define E_FILEMAN_FILE_SMART_H
  12.  
  13. enum E_Fm_Icon_Type
  14. {
  15.    E_FM_ICON_NORMAL,
  16.    E_FM_ICON_LIST
  17. };
  18.  
  19. struct _E_Fm_Icon_Metadata
  20. {
  21.    Evas_Coord  x, y, w, h; /* geometry */
  22.    char       *name;       /* filename */
  23. };
  24.  
  25. EAPI int                 e_fm_icon_init(void);
  26. EAPI int                 e_fm_icon_shutdown(void);
  27. EAPI Evas_Object        *e_fm_icon_add(Evas *evas);
  28. EAPI E_Fm_File          *e_fm_icon_file_get(Evas_Object *obj);    
  29. EAPI void                e_fm_icon_file_set(Evas_Object *obj, E_Fm_File *file);
  30. EAPI void                e_fm_icon_appear_cb(Evas_Object *obj, void *data);
  31. EAPI void                e_fm_icon_disappear_cb(Evas_Object *obj, void *data);    
  32. EAPI void                e_fm_icon_title_set(Evas_Object *obj, const char *title);
  33. EAPI void                e_fm_icon_type_set(Evas_Object *obj, int type);
  34. EAPI void                e_fm_icon_edit_entry_set(Evas_Object *obj, Evas_Object *entry);
  35. EAPI void                e_fm_icon_signal_emit(Evas_Object *obj, const char *source, const char *emission);
  36. EAPI E_Fm_Icon_Metadata *e_fm_icon_meta_generate(Evas_Object *obj);
  37. EAPI void                e_fm_icon_meta_free(E_Fm_Icon_Metadata *m);
  38.  
  39. #endif
  40. #endif
  41.  
  42.